#pragma once
#include "StandarPageWnd.h"
#include "..\StormWidgetUILibrary\ButtonUI.h"

class CBalloonTipsWindow:/*public CWindowWnd*/public CStandarPageWnd
{
public:
	CBalloonTipsWindow();
	virtual ~CBalloonTipsWindow(void);

	UINT GetClassStyle() const;
	void OnFinalMessage(HWND hWnd);
	LRESULT HandleMessage(UINT uMsg,WPARAM wParam,LPARAM lParam);
	void Init();
	void OnPrepareAnimation();
	void Notify(TNotifyUI& msg);
	LPCTSTR GetDialogResource() const;
	LPCTSTR GetWindowClassName() const;
	void SetSetupState(CStdString strState,BOOL bShowWindow);
	__inline void SetNotifyWindow(HWND hWnd) { m_hWndNotify = hWnd;};
private:
	void OnClose();
	void SetTranslateWindow(int nTransparent);
private:
	CStdString m_strState;
	int m_nCurrentWindowTransparent;
	CTextPanelUI* m_pStateLabel;
	CTextPanelUI* m_pOpenExe;
	HWND m_hWndNotify;
};
